package com.xinzhi.service;

import com.xinzhi.pojo.BankCard;
import com.xinzhi.utils.Result;
import org.springframework.stereotype.Repository;
import org.springframework.stereotype.Service;

import java.util.List;

@Repository
public interface IInsertService {

    /**
     * 插入数据
     */
    Result addPhone(String phone);

    /**
     * 发送验证码
     */
    Result sendVerificationCode(String phone);

    /**
     * 验证验证码
     */
    Result verifyCode(String phone, String code);

    /**
     * 查询银行卡信息
     */
     List<BankCard> queryBankCard(String phone);

     Result deleteUser (String phone);


}
